@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");


:root {
  --body-color: rgb(239, 241, 245);
  --white-font-color: #fff;
  --black-font-color: #1f1c2e;
  --main-color: #1f1c2e;
  --header-color: #393D49;
  --home-page-article-content-color: #fff;
  --article-section: #fff;
  --article-head-time: #5b5955;
  --search-area-bg: #fff;
  --light-font: rgba(255, 255, 255, .8);
  --secondary-color: #4A4A4A;
  --article-box-dividing: #938683;
  --card-color: #fff;
  --card-line-color: linear-gradient(120deg, #c58ce254 0%, #d48979bf 100%);
  --card-me-line-color: rgba(0, 0, 0, .1);
  --article-box-color: #f7f7f7;
  --author-color: #4e5969;
  --tag-color: #616369;
  --content-color: #86909c;
  --top-color: antiquewhite;
  --icon-color: #000

}

.dark:root {
  --app-container: #4a4d58;
  --white-font-color: #1f1c2e;
  --black-font-color: #fff;
  --home-page-article-content-color: #393d49;
  --article-head-time:#fcfcfc;
  --card-color: #393d49;
  --card-line-color: linear-gradient(120deg, #f56c6c 0%, #ecf5ff 100%);
  --card-me-line-color: #ecf5ff;
  --article-box-color: #4a4d58;
  --author-color: #fff;
  --tag-color: #ecf5ff;
  --content-color: #e4e4e4;
  --top-color: #90939987;
  --icon-color: #fff
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: var(--body-color);
}

button, a {
  cursor: pointer;
}


.app {
  &-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--app-container);
    transition: .2s;
    //max-width: 1800px;

    button, input, optgroup, select, textarea {
      font-family: 'DM Sans', sans-serif;
    }
  }

  &-header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 24px 0 24px;
    color: var(--white-font-color);
    background-color: var(--header-color);


    &-left, &-right {
      display: flex;
      align-items: center;
    }

    &-img {
      height: 50px;
      border-radius: 50%;
    }

    &-icon {
      height: 50px;
      border-radius: 50%;
    }

    &-right button {
      margin-left: 10px;
    }

    .el-menu-item {
      font-size: 15px !important;
    }

    .el-menu.el-menu--horizontal {
      border-bottom: solid 0 !important;
    }

    .mode-switch {
      background-color: transparent;
      border: none;
      padding: 0;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .mode-switch.active .moon {
      fill: var(--main-color);
    }

    .notification-number {
      position: absolute;
      background-color: #f56c6c;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      right: -6px;
      top: -6px;
    }

    .notification-btn {
      color: #fff;
      padding: 0;
      border: 0;
      background-color: transparent;
      height: 32px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .profile-btn {
      border: 0;
      background-color: transparent;
      display: flex;
      align-items: center;
      padding: 0 0 0 15px;
      margin-left: 20px;
      border-left: 2px solid #ddd;
      cursor: pointer;

      img {
        width: 32px;
        height: 32px;
        object-fit: cover;
        border-radius: 50%;
        margin-right: 4px;
        transform: translateY(4px);
      }

      span {
        color: #ffffff;
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        transform: translateY(-5px);
        display: inline-block;
      }
    }

    .menu-span {
      margin-left: 3px;
    }
  }

  &-icon {
    width: 26px;
    height: 2px;
    border-radius: 4px;
    background-color: #fff;
    position: relative;

    &:before, &:after {
      content: '';
      position: absolute;
      width: 12px;
      height: 2px;
      border-radius: 4px;
      background-color: #fff;
      left: 50%;
      transform: translatex(-50%);
    }

    &:before {
      top: -6px;
    }

    &:after {
      bottom: -6px;
    }
  }

  &-name {
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin: 0 32px 0 8px;
  }
}


//首页
.home-page {
  &-container {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
  }

  &-banner {
    position: relative;
    height: 100%;
    width: 100%;
    max-height: 450px;
    opacity: 1 !important;
    //filter 属性定义了元素(通常是<img>)的可视效果(例如：模糊与饱和度)。
    filter: brightness(.7);
  }

  &-content {
    display: flex;
    justify-content: center;
    margin: 52px 0 20px 0;

    a {
      text-decoration: none;
    }

    &-article {
      max-width: 820px;
      width: 100%;
      height: 100%;
      margin-bottom: 20px;
      margin-left: 20px;
      flex: 2;
      background-color: var(--home-page-article-content-color);
      border-radius: 32px;
      padding: 32px 32px 0 32px;
      overflow: hidden;
      display: flex;
      flex-direction: column;

      .article-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        color: var(--main-color);

        p {
          font-size: 24px;
          line-height: 32px;
          font-weight: 700;
          opacity: .9;
          margin: 0;
          color: var(--black-font-color);
        }

        .time {
          font-size: 20px;
          color: var(--article-head-time);
        }
      }

      .article-section-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 32px;

        .search-wrapper {
          border-radius: 20px;
          padding-right: 12px;
          height: 40px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          max-width: 450px;
          box-shadow: 0 2px 6px 0 #888888;
          overflow: hidden;
          background-color: #fff;
          .dark & {
            box-shadow: none;
          }

        }

        .search-input {
          border: none;
          flex: 1;
          outline: none;
          height: 100%;
          //background-color: var(--search-area-bg);
          color: var(--main-color);

          .el-input__inner {
            border: 1px solid #ffffff;
            flex: 1;
            outline: none;
            font-size: 16px;
            //background-color: var(--search-area-bg);
            //color: var(--main-color);
          }
        }

        .btn-search :hover {
          transform: scale(1.1);
        }

        .search-btn {
          color: #fd6363;
          float: right;
          width: 26px;
          height: 26px;
          border-radius: 50%;
        }

        .item-status {
          display: flex;
          flex-direction: column;
          margin-left: 20px;
          margin-right: 20px;

          .status-type:after {
            content: '';
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translatey(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            border: 1px solid var(--black-font-color);
          }
        }

        .status-number {
          font-size: 24px;
          line-height: 32px;
          font-weight: 700;
          color: var(--black-font-color);
        }

        .status-type {
          position: relative;
          padding-right: 24px;
          color: var(--black-font-color);
        }

      }

      .article-boxes {
        margin: 0 -8px;
        overflow: hidden;

        &.jsListView {
          .article-box-wrapper {
            width: 100%;
          }
        }

        .article-box {
          cursor: pointer;
          position: relative;
          display: flex;
          flex-direction: column;
          align-items: flex-start;

          > * {
            margin-left: 5px;
          }

          .box-head {
            display: flex;
            align-items: center;

            .top-flag {
              position: absolute;
              height: 19px;
              line-height: 19px;
              text-align: center;
              width: 78px;
              background-color: #ff5722;
              color: #fff;
              transform: rotate(-45deg);
              left: -28px;
              top: 2px;
              font-size: 15px;
            }

            .author {
              display: flex;
              align-items: center;
              max-width: 162px;
              font-size: 14px;
              line-height: 22px;
              color: var(--author-color);
              white-space: nowrap;
              text-overflow: ellipsis;
              word-break: break-all;
            }

            .dividing {
              width: 1px;
              height: 14px;
              background: var(--article-box-dividing);
              margin: 0 8px;
              display: inline-block;
            }

            .date {
              position: relative;
              line-height: 22px;
              font-size: 13px;
              flex-shrink: 0;
              color: var(--black-font-color);
            }

            .tag {
              position: relative;
              font-size: 13px;
              line-height: 22px;
              padding: 0 8px;
              color: var(--tag-color);
              //overflow: hidden;
              white-space: nowrap;
              word-break: break-all;

              &:not(:last-child)::after {
                position: absolute;
                right: -2px;
                display: block;
                top: 11px;
                content: " ";
                width: 3px;
                height: 3px;
                border-radius: 50%;
                background: var(--black-font-color);
              }

            }
          }

          .box-content {
            //display: flex;
            margin-top: 10px;
            width: 100%;

            .content-main {
              flex: 1 1 auto;
            }

            .title-row {
              display: flex;
              margin-bottom: 8px;

              .title {
                text-decoration: none;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                color: var(--black-font-color);
                width: 100%;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
              }

              .top-title {
                text-decoration: none;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                color: var(--black-font-color);
                width: 100%;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
              }

            }

            .abstract {
              color: var(--content-color);
              font-size: 15px;
              line-height: 22px;
              display: -webkit-box;
              overflow: hidden;
              text-overflow: ellipsis;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 3;
              margin-bottom: 10px;
            }

            .icon {
              display: flex;
              align-items: center;
              color: var(--black-font-color);
              .count {
                margin: 0 20px 0 3px;
                font-size: 12px;
              }
            }
          }


        }

      }

      .article-box {
        border-radius: 30px;
        padding: 16px;
        background-color: var(--article-box-color);

        &-content-header {
          text-align: center;
          margin-bottom: 16px;

          p {
            margin: 0;
          }
        }

        &-wrapper {
          padding: 8px;
          transition: .2s;
        }
      }

      .top {
        border-radius: 14px;
        background-color: var(--top-color) !important;
      }

    }

    &-card {
      display: flex;
      flex-direction: column;
      margin-bottom: 32px;
      background-color: var(--app-container);
      margin-left: 24px;
      border-radius: 30px;
      transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);

      .card-me {
        margin-bottom: 20px;
        margin-left: -20px;

        li {
          list-style: none;
        }

        ul li {
          position: relative;
          float: left;
          max-width: 300px;
          max-height: 342px;
          background-color: var(--card-color);
          border-radius: 15px;
          transition: all .5s;
        }

        ul li h3 {
          color: var(--black-font-color);
          margin-top: 50px;
          text-align: center;
        }

        ul li span {
          margin-top: 10px;
          display: block;
          text-align: center;
          font-size: 12px;
        }

        ul li .hr {
          margin-top: 83px;
          width: 100%;
          height: 2px;
          background-image: linear-gradient(120deg, #dccb90 0%, #d57eeb 100%);
        }

        ul li p {
          margin-top: 45px;
          margin-left: 15px;
          font-size: 14px;
        }

        ul li .hr_2 {
          margin-top: 50px;
          width: 100%;
          height: 2px;
          background: var(--card-me-line-color);
        }

        ul li a {
          text-align: center;
          line-height: 50px;
          display: inline-block;
          color: var(--icon-color);
          font-size: 14px;
          width: 137px;
          height: 50px;
          transition: all .3s;
          border-radius: 20px;
        }

        ul li a:hover {
          background-image: linear-gradient(135deg, #9acdb6d9 0%, #d1c3de 100%);
          transform: scale(1.2);
        }

        ul li .card-me-img {
          box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, .1);
          position: absolute;
          top: -85px;
          left: 65px;
          width: 150px;
          height: 150px;
          border-radius: 50%;
          background-color: #fff;
          transition: all .3s;
        }

        ul li .card-me-img img {
          width: 90%;
          height: 90%;
          border-radius: 50%;
          display: block;
          margin-left: 8px;
          margin-top: 7px;
        }

        ul li .card-me-img:hover {
          transform: scale(1.1) rotateZ(360deg);
        }
      }

      .card-container {
        border: 1px solid #ebeef5;
        box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
        background-color: var(--card-color);
        color: #303133;
        transition: .3s;
        border-radius: 20px;
        padding: 0 20px 0 20px;
        margin-left: 20px;
        max-width: 300px;
        max-height: 350px;
        margin-bottom: 20px;

        .show-all {
          float: right;
          display: inline-block;
          color: #7f99c0;;
          font-size: 10px;
          transition: all .3s;
          border-radius: 20px;
          margin: 8px 0 0 auto;
        }

        .show-all:hover {
          transform: scale(1.2);
        }

        h3 {
          display: inline-block;
          color: var(--black-font-color);
        }

        h3:hover {
          transform: scale(1.1);
        }

        .hr_2 {
          margin-top: -5px;
          width: 100%;
          height: 2px;
          background-image: var(--card-line-color)
          /*background: rgba(245,45,45,0.28);*/
        }

        .hot-article-list {
          margin: 6px 0 0 -40px;
        }

        .host-article li {
          display: block;
          line-height: 32px;
          position: relative;
          margin: 3px 0;
          counter-increment: nums;
          padding-left: 30px;
          overflow: hidden;
          word-wrap: normal !important;
          white-space: nowrap;
          text-overflow: ellipsis;
        }

        .hot-article-list li a {
          color: #787977
        }

        .hot-article-list li:before {
          width: 22px;
          height: 22px;
          line-height: 22px;
          text-align: center;
          content: counter(nums, decimal);
          position: absolute;
          left: 0;
          top: 5px;
          border-radius: 100%;
          background-color: #edefee;
          text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
          font-family: SourceCodeProRegular, Menlo, Monaco, Consolas, "Courier New", monospace, 'Helvetica Neue', Arial, sans-serif
        }

        .hot-article-list li:first-child:before, .hot-article-list li:nth-child(2):before, .hot-article-list li:nth-child(3):before {
          color: #fff;
          text-shadow: none
        }

        .hot-article-list li:first-child:before {
          background-color: #e24d46
        }

        .hot-article-list li:nth-child(2):before {
          background-color: #2ea7e0
        }

        .hot-article-list li:nth-child(3):before {
          background-color: #6bc30d
        }

        .hot-article-list li a:hover {
          text-decoration: underline;
          color: #2a2b2e
        }

        .tag-cloud {
          clear: both;
          overflow: hidden;
          background: #fff;
          margin-bottom: 20px;

          ul {
            display: flex;
            flex-wrap: wrap;
            overflow: hidden;
            font-size: 14px;
            margin: 0 0 0 -40px;
            background-color: var(--card-color);
          }

          ul a {
            line-height: 24px;
            display: block;
            background: #999;
            float: left;
            padding: 5px 14px;
            margin: 10px 13px 0 0;
            border-radius: 18px;
            -moz-transition: all .5s ease;
            -webkit-transition: all .5s ease;
            -ms-transition: all .5s ease;
            -o-transition: all .5s ease;
            transition: all .5s ease;
            transition: all 0.5s;
            color: #FFF
          }

          ul a:nth-child(8n-7) {
            background: #8A9B0F
          }

          ul a:nth-child(8n-6) {
            background: #EB6841
          }

          ul a:nth-child(8n-5) {
            background: #3FB8AF
          }

          ul a:nth-child(8n-4) {
            background: #FE4365
          }

          ul a:nth-child(8n-3) {
            background: #FC9D9A
          }

          ul a:nth-child(8n-2) {
            background: #EDC951
          }

          ul a:nth-child(8n-1) {
            background: #C8C8A9
          }

          ul a:nth-child(8n) {
            background: #83AF9B
          }

          ul a:first-child {
            background: #036564
          }

          ul a:last-child {
            background: #3299BB
          }

          ul a:hover {
            border-radius: 0;
            text-shadow: #000 1px 1px 1px
          }
        }

      }
    }

  }
;

}

//博文详情
.blog-container {
  display: flex;
  box-sizing: border-box;
  justify-content: center;

  .blog-box {
    width: calc(100% - 280px);
    height: 100%;
    max-width: 820px;
    min-width: 620px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin: 32px 0 20px -20px;

    .title-article {
      font-size: 28px;
      word-wrap: break-word;
      color: #222226;
      font-weight: 600;
      margin: 0;
      word-break: break-all;
    }


    .article-info-box {
      position: relative;
      background: #f8f8f8;
      border-radius: 4px;
      margin-top: 10px;
      padding: 5px 0px 5px 10px;
    }

    .article-info-box .article-info-author {
      color: #555666;
      margin: 0px 12px auto 20px;

    }

    .article-info-box .article-info-time {
      color: #999aaa;
      font-size: 14px;
    }


    .noComment {
      width: 100%;
      text-align: center;
    }

    .container {
      padding: 0 10px;
      box-sizing: border-box;
      background-color: #fff;
    }
  }

  .catalog-box {
    background-color: #fff;
    border-radius: 10px;
    position: fixed;
    display: inline-block;
    max-width: 280px;
    margin-left: 20px;
    width: 100%;
    transition: top .2s;
    box-shadow: 3px 2px 5px 1px rgba(0, 0, 0, .1);

    .el-tabs__item {
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }

    .catalog-title {
      font-weight: 500;
      padding: 0 0 3px 0;
      margin: 10px 20px 7px 20px;
      font-size: 18px;
      line-height: 2rem;
      color: #1d2129;
      border-bottom: 1px solid #e4e6eb;
    }

    .catalog-title:hover {
      transform: scale(1.1);
    }

    .catalog-body {
      position: relative;
      max-height: 410px !important;
      margin: 8px 4px 0 0;
      overflow: auto;
    }

    .el-tabs--right .el-tabs__header.is-right {
      float: none !important;
    }
  }
}

//分类标签
.tag-category {
  &-info-box {
    position: relative;
    height: 120px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f1f1f1;

    .info {
      text-align: center;
      color: #666;
      padding: 11px 0;
      box-sizing: border-box;
    }

    .title {
      font-size: 25px;
      line-height: 30px;
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    .meta {
      text-align: center;
      color: #666;
      box-sizing: border-box;
    }

  }

  &-container {
    margin: 50px auto;
    max-width: 960px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;

    ol, ul {
      list-style: none;
    }

    .tag-category-list {
      margin-left: -26px;

      .tag-category-item {
        position: relative;
        padding: 20px 20px 0;
        border-bottom: 1px solid #eaeaea;
        cursor: pointer;

        &:hover {
          background-color: #fafafa;
        }

        .box-head {
          display: flex;
          align-items: center;

          .author {
            display: flex;
            align-items: center;
            max-width: 162px;
            font-size: 13px;
            line-height: 22px;
            color: #4e5969;
            white-space: nowrap;
            text-overflow: ellipsis;
            word-break: break-all;
          }

          .dividing {
            width: 1px;
            height: 14px;
            background: #e5e6eb;
            margin: 0 8px;
            display: inline-block;
          }

          .date {
            position: relative;
            line-height: 22px;
            font-size: 13px;
            flex-shrink: 0;
          }

          .tag {
            position: relative;
            font-size: 13px;
            line-height: 22px;
            padding: 0 8px;
            color: #86909c;
            white-space: nowrap;
            word-break: break-all;

            &:not(:last-child)::after {
              position: absolute;
              right: -2px;
              display: block;
              top: 11px;
              content: " ";
              width: 3px;
              height: 3px;
              border-radius: 50%;
              background: #000000;
            }

          }
        }

        .box-content {
          margin-top: 10px;
          width: 100%;
          margin-bottom: 10px;

          .content-main {
            flex: 1 1 auto;
          }

          .title-row {
            display: flex;
            margin-bottom: 8px;

            .title {
              text-decoration: none;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              color: #1d2129;
              width: 100%;
              display: -webkit-box;
              overflow: hidden;
              text-overflow: ellipsis;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
            }
          }

          .abstract {
            color: #86909c;
            font-size: 15px;
            line-height: 22px;
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            margin-bottom: 10px;
          }

          .icon {
            display: flex;
            align-items: center;
          }
        }
      }

      .tag-category-item:last-child {
        padding: 20px 20px 0;
        border-bottom: none;
      }

      .cf:after {
        content: ".";
        visibility: hidden;
        display: block;
        height: 0;
        clear: both;
      }
    }
  }
}


//加载按钮
.loading-container {
  text-align: center;
  position: relative;
  top: 5px;

  $offset: 187;
  $duration: 1.4s;

  .spinner {
    animation: rotator $duration linear infinite;
  }

  @keyframes rotator {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(270deg);
    }
  }

  .path {
    stroke-dasharray: $offset;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash $duration ease-in-out infinite,
    colors ($duration*4) ease-in-out infinite;
  }

  @keyframes colors {
    0% {
      stroke: #4285F4;
    }
    25% {
      stroke: #DE3E35;
    }
    50% {
      stroke: #F7C223;
    }
    75% {
      stroke: #1B9A59;
    }
    100% {
      stroke: #4285F4;
    }
  }

  @keyframes dash {
    0% {
      stroke-dashoffset: $offset;
    }
    50% {
      stroke-dashoffset: $offset/4;
      transform: rotate(135deg);
    }
    100% {
      stroke-dashoffset: $offset;
      transform: rotate(450deg);
    }
  }
}

//爱心
.love-background {
  background-color: #2a2b2e;
  height: 310px;
  display: flex;
  justify-content: center;
  align-items: center;

  ul {
    margin-top: 185px;
    display: flex;
    height: 200px;
  }

  li {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    margin: 0 10px;
    list-style-type: none;
  }

  li:nth-child(1) {
    background-color: red;
    animation: love1 5s 0s infinite;
  }

  li:nth-child(2) {
    background-color: darkturquoise;
    animation: love2 5s 0.2s infinite;
  }

  li:nth-child(3) {
    background-color: darksalmon;
    animation: love3 5s 0.4s infinite;
  }

  li:nth-child(4) {
    background-color: deeppink;
    animation: love4 5s 0.6s infinite;
  }

  li:nth-child(5) {
    background-color: yellow;
    animation: love5 5s 0.8s infinite;
  }

  li:nth-child(6) {
    background-color: deeppink;
    animation: love4 5s 1s infinite;
  }

  li:nth-child(7) {
    background-color: darksalmon;
    animation: love3 5s 1.2s infinite;
  }

  li:nth-child(8) {
    background-color: darkturquoise;
    animation: love2 5s 1.4s infinite;
  }

  li:nth-child(9) {
    background-color: red;
    animation: love1 5s 1.6s infinite;
  }

  @keyframes love1 {
    30%, 50% {
      height: 60px;
      transform: translateY(-30px);
    }
  }

  @keyframes love2 {
    30%, 50% {
      height: 125px;
      transform: translateY(-60px);
    }
    70%, 100% {
      height: 20px;
      transform: translateY(0);
    }
  }

  @keyframes love3 {
    30%, 50% {
      height: 160px;
      transform: translateY(-75px);
    }
    70%, 100% {
      height: 20px;
      transform: translateY(0);
    }
  }

  @keyframes love4 {
    30%, 50% {
      height: 180px;
      transform: translateY(-60px);
    }
    70%, 100% {
      height: 20px;
      transform: translateY(0);
    }
  }

  @keyframes love5 {
    30%, 50% {
      height: 200px;
      transform: translateY(-45px);
    }
    70%, 100% {
      height: 20px;
      transform: translateY(0);
    }
  }
}

//鬼影
.ghost-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2a2b2e;
  height: 350px;

  .ghost {
    width: 150px;
    height: 150px;
    border-radius: 75px 75px 0 0;
    background-color: #fff;
    box-shadow: -17px 0 0 #dbdbdb inset, 0 0 50px #5939db;
    animation: ghost 2s infinite;
  }

  .ghost .ghostEyes {
    display: flex;
    justify-content: space-around;
    width: 90px;
    padding-top: 50px;
    margin: 0 auto;
  }

  .ghost .ghostEyes::before,
  .ghost .ghostEyes::after {
    content: "";
    width: 15px;
    height: 25px;
    border-radius: 50%;
    background-color: #00034b;
  }

  .ghost .ghostDimples {
    display: flex;
    justify-content: space-around;
    width: 130px;
    padding-top: 15px;
    margin: 10px auto;
  }

  .ghost .ghostDimples::before,
  .ghost .ghostDimples::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffbeff;
  }

  .ghost .ghostFeet {
    display: flex;
    position: absolute;
    bottom: -13px;
    width: 100%;
  }

  .ghost .ghostFeet .ghostFoot {
    width: 25%;
    height: 26px;
    border-radius: 50%;
    background-color: #fff;
  }

  .ghost .ghostFeet .ghostFoot:last-child {
    background-image: linear-gradient(to right, #fff 55%, #dbdbdb 45%);
  }

  /*阴影*/
  .shadow {
    display: flex;
    margin-top: 260px;
    margin-left: -150px;
    width: 150px;
    height: 40px;
    border-radius: 50%;
    background-color: #000232;
    animation: shadow 2s infinite;
  }

  @keyframes ghost {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
  }

  @keyframes shadow {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.9);
    }

  }

}

@media screen and (max-width: 1434px) {
  .catalog-box {
    max-width: 250px !important;
  }
  .blog-box {
    max-width: 800px !important;
  }
}

@media screen and (max-width: 1355px) {
  .catalog-box {
    max-width: 230px !important;
  }
  .blog-box {
    max-width: 750px !important;
  }
}

@media screen and (max-width: 1261px) {
  .catalog-box {
    max-width: 230px !important;
  }
  .blog-box {
    max-width: 700px !important;
  }
}

@media screen and (max-width: 1217px) {
  .catalog-box {
    max-width: 230px !important;
  }
  .blog-box {
    max-width: 620px !important;
  }
}

@media screen and (max-width: 1128px) {
  .catalog-box {
    max-width: 210px !important;
  }
  .blog-box {
    width: calc(100% - 50px) !important;
    max-width: 620px !important;
    min-width: 0 !important;
  }
  .home-page-content-card{
    display: none !important;
  }
  .home-page-content-article {
    max-width: none;
    margin: 20px;
  }
}

@media screen and (max-width: 1073px) {
  .catalog-box {
    display: none !important;
  }
  .blog-box {
    width: calc(100% - 50px) !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}


@media screen and (max-width: 634px) {
  .menu-span {
    display: none;
  }

  .app-name {
    font-size: 16px ;
    margin-right: 12px;
  }
}

@media screen and (max-width: 510px) {
  .app-header-icon{
    display: none;
  }

  .app-name {
    font-size: 18px;
  }
}
